Yet another work-around in the network-bridge script
authoriap10@freefall.cl.cam.ac.uk <iap10@freefall.cl.cam.ac.uk>
Tue, 16 Aug 2005 20:00:53 +0000 (20:00 +0000)
committeriap10@freefall.cl.cam.ac.uk <iap10@freefall.cl.cam.ac.uk>
Tue, 16 Aug 2005 20:00:53 +0000 (20:00 +0000)
From: Zhai, Edwin [edwin.zhai@intel.com]
Signed-off-by: ian@xensource.com
tools/examples/network-bridge

index 24df59809a65507f2230ea632574793c43a5c62a..bb4055c0f02b383773bb3d43ea65b1eae369a65c 100755 (executable)
@@ -187,6 +187,7 @@ op_start () {
                        ifconfig ${netdev} 0.0.0.0 down
                fi
        fi
+       del_addrs ${netdev}
        ip link set ${netdev} name p${netdev}
        ip link set veth0 name ${netdev}
        ifconfig p${netdev} -arp down